import urllib3

http = urllib3.PoolManager()

url = "http://www.baidu.com"
res = http.request('GET', url)

print(res.data)
